package File;

import java.io.File;

public class FileDemo {
    public static void main(String[] args) {
        File file=new File("./demo.txt");
        System.out.println(file.length());
        boolean cr=file.canRead();//可读
        boolean cw=file.canWrite();//可写
        boolean ih=file.isHidden();//是否隐藏
        System.out.println(cr);

    }
}
